/*
 * @description:
 * @version:
 * @Author: 王治飞
 * @Date: 2023-08-16 14:40:07
 * @LastEditors: 王治飞
 * @LastEditTime: 2023-08-17 09:19:58
 */

const path = require("path")

const CracoLessPlugin = require('craco-less')


const resolve = (text)=> path.resolve(__dirname,text)
module.exports = {
  webpack:{
    alias:{
      "@":resolve("src"),
      components:resolve("src/components"),
      utils:resolve("src/utils"),
      hooks:resolve("src/hooks")
    }
  },
  plugins:[{
    plugin:CracoLessPlugin,
  }]
}
